package com.task.utils;

import java.util.ArrayList;
import java.util.*;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.task.dao.TaskDao;
import com.task.entity.Task;

public class Test {

	public static void main(String[] args) {
		ApplicationContext ac=new ClassPathXmlApplicationContext("applicationContext.xml");
		TaskDao taskDao=(TaskDao) ac.getBean("taskDao");
		taskDao.updateTaskToTomorrow();
		 
	}
}
